/**
 * Project Name:bfs_v1.0.1
 * File Name:OrgTreeVO.java
 * Package Name:com.zeei.bfs.vo
 * Date:2016年11月22日下午4:37:49
 * Copyright (c) 2016, ZEEI All Rights Reserved. *
 *
 * ClassName:OrgTreeVO 
 * Function: TODO ADD FUNCTION.  
 * @author   zws 
 * @since    JDK 1.8	 
 */

package com.zeei.bfs.vo;

import com.zeei.common.vo.TreeNodeVO;

/**
 * 类描述:组织树
 *
 * @author zws
 * @version 1.0
 * @date 2016年11月22日
 */
public class OrgTreeVO extends TreeNodeVO<OrgTreeVO> {
	

//	/**收缩*/
//	protected static final String CLOSED_STATE = "closed";
//	/**展开*/
//	protected static final String OPEN_STATE = "open";

//	/**状态:树节点是展开还是收缩*/
//	private String state = CLOSED_STATE;

//	public String getState() {
//		return state;
//	}
//
//	public void setState(String state) {
//		this.state = state;
//	}

	/** 角色id */
	private Integer roleId;

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	/***
	 * 覆盖父类的方法
	 * 
	 * @see com.zeei.common.vo.BasicTreeNodeVO#isCheck()
	 */
	@Override
	public boolean isCheck() {
		if (roleId != null) {
			check = true;
		} else {
			check = false;
		}
		return check;
	}

}
